package wsid

import (
	"github.com/shirou/gopsutil/cpu"
	"strings"
)

func GetHwId() string {
	cpuInfo, err := cpu.Info()
	if err != nil {
		return ""
	}
	ci := cpuInfo[0]
	return strings.ToLower(ci.PhysicalID)
}
